<template>
    <div class="mian">
        <div class="title">饿了么</div>
        <div class="topBox">
            <div class="images">
                <img src="../../assets/8.png" alt="">
            </div>
            <div class="name">
                <div class="first">夢 迴 瑭 謿 i </div>
                <div class="second">156****0163</div>
            </div>
            <div class="zhanghu">
                <div class="shezhi">账户设置</div>
            </div>
        </div>
        <div class="minddle">
            <div class="second">
                <span class="">吃货卡</span>
                <span>吃货豆：</span>
                <span>1461</span>
            </div>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style scoped>
    .title{
        width: 100%;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
        text-align: center;
    }
    .topBox{
        width: 100%;
        display: flex;
    }
    .images{
        width: 20%;
    }
    img{
        width: 100%;
        opacity: 0.5;
    }
    .name{
        margin-left: 20px;
    }
    .first{
        margin-top: 10px;
        font-size: 20px;
    }
    .second{
        margin-top: 15px;
        font-size: 16px;
    }
    .zhanghu{
        flex: 1;
    }
    .shezhi{
        width: 80px;
        height: 30px;
        border: 1px solid gray;
        border-radius: 15px;
        float: right;
        line-height: 30px;
        text-align: center;
        margin-top: 30px;
    }
</style>